package ltd.newbee.cloud.api;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: tangyushan
 * @Date: 2024/5/24 - 05 - 24 - 17:33
 * @Description: ltd.newbee.cloud.api
 * @version: 1.0
 */
@RestController
public class NewBeeCloudGoodsAPI {

    @Value("${server.port}")
    private String applicationServerPort;

    @GetMapping("goodsServiceTest")
    public String goodsServiceTest(){
        return "this is goodsService form port:" + applicationServerPort;
    }
}
